export interface TableData {
  id: number
  username: string
  dept_tier: string
  dept_id: number
  name?: string
  mobile?: string
  is_admin: number
  role_id: number
  is_use: number
  updated_at: string
}

export interface TableList {
  items: Array<TableData>
  total: number
}

export interface CreateOrUpdateTableRequestData {
  id?: number
  username: string
  password?: string
  dept_id: number
  name?: string
  mobile?: string
  is_admin: number
  is_use: number
}

export interface UserPageForm {
  page: number
  dept_id?: number
  is_use?: number
  keyword?: string
}
